<% label_title = Alchemy.t("Create #{resource_name}", default: Alchemy.t('Create')) %>

<% content_for :toolbar do %>
  <div class="toolbar_buttons">
    <%= render 'alchemy/admin/partials/site_select' %>
    <%= toolbar_button icon: 'create',
      label: label_title,
      url: new_resource_path,
      title: label_title,
      hotkey: 'alt+n',
      dialog_options: {
        title: label_title,
        size: "430x415"
      },
      if_permitted_to: [:create, Alchemy::Language] %>
  </div>
  <%= render 'alchemy/admin/partials/search_form' %>
<% end %>

<div id="archive_all" class="resources-table-wrapper">
  <%= resources_header %>
  <%= render 'table' %>
</div>
